package com.cloud.common.feign;

import lombok.Data;

/**
 * feign属性
 *
 * @author fengwenjin
 */
@Data
public class FeignAttribute {
    String serviceName;
    String requestUri;
    boolean isRpc;
    int timeout;

    public FeignAttribute(String serviceName, String requestUri, boolean isRpc, int timeout) {
        this.serviceName = serviceName;
        this.requestUri = requestUri;
        this.isRpc = isRpc;
        this.timeout = timeout;
    }
}
